package com.rightsidetech.activity.dto.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ActStoreCouponResp implements Serializable {
    @ApiModelProperty(value = "优惠活动id",hidden = true)
    private Long activityId;
    @ApiModelProperty("优惠券编号")
    private String activityNo;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("优惠券类型(0折扣 1满减)")
    private Byte couponType;
    @ApiModelProperty("优惠券金额")
    private BigDecimal amount;
    @ApiModelProperty("最多抵扣金额")
    private BigDecimal maxDiscountAmount;
    @ApiModelProperty("最低消费金额")
    private BigDecimal minConsumeAmount;
    @ApiModelProperty("使用时间")
    private Date endTime;
    @ApiModelProperty("使用规则")
    private String ruleDetails;
    @ApiModelProperty(value = "使用范围",hidden = true)
    private String useScope;
    @ApiModelProperty("剩余数量")
    private Long remainCount;
    @ApiModelProperty(value = "优惠券总数")
    private Long totalQuantity;
    @ApiModelProperty(value = "可用数量")
    private Long getQuantity;
}
